package com.itcast.service;


import com.itcast.entity.PageResult;
import com.itcast.entity.QueryPageBean;
import com.itcast.exception.PermissionException;
import com.itcast.pojo.Permission;

public interface PermissionService {
    public void add(Permission permission);

    PageResult findPage(QueryPageBean queryPageBean);

    void edit(Permission permission);

    Permission query(Integer id);

    void delete(Integer id) throws PermissionException;
}
